package com.loyal.loyalerp.humenresource.askleave.model;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class AskLeave {
	private Integer id;

	private Integer personId;

	private Integer qingJiaTypeId;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;

	private String remark;

	

	@Override
	public String toString() {
		return "AskLeave [id=" + id + ", personId=" + personId + ", qingJiaTypeId=" + qingJiaTypeId + ", startTime="
				+ startTime + ", endTime=" + endTime + ", remark=" + remark + ", days=" + days + ", picture=" + picture
				+ ", kjYear=" + kjYear + ", period=" + period + ", checkerId=" + checkerId + ", checkDate=" + checkDate
				+ ", check2Id=" + check2Id + ", check2Date=" + check2Date + ", check3Id=" + check3Id + ", check3Date="
				+ check3Date + ", bak1=" + bak1 + ", bak2=" + bak2 + "]";
	}

	private BigDecimal days;

	private String picture;

	private Integer kjYear;

	private Integer period;

	private Integer checkerId;

	private Date checkDate;

	private Integer check2Id;

	private Date check2Date;

	private Integer check3Id;

	private Date check3Date;

	private String bak1;

	private String bak2;
	
	private String input;
	
	

	public String getInput() {
		return input;
	}

	public void setInput(String input) {
		this.input = input;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPersonId() {
		return personId;
	}

	public void setPersonId(Integer personId) {
		this.personId = personId;
	}

	public Integer getQingJiaTypeId() {
		return qingJiaTypeId;
	}

	public void setQingJiaTypeId(Integer qingJiaTypeId) {
		this.qingJiaTypeId = qingJiaTypeId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public BigDecimal getDays() {
		return days;
	}

	public void setDays(BigDecimal days) {
		this.days = days;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture == null ? null : picture.trim();
	}

	public Integer getKjYear() {
		return kjYear;
	}

	public void setKjYear(Integer kjYear) {
		this.kjYear = kjYear;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public Integer getCheckerId() {
		return checkerId;
	}

	public void setCheckerId(Integer checkerId) {
		this.checkerId = checkerId;
	}

	public Date getCheckDate() {
		return checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public Integer getCheck2Id() {
		return check2Id;
	}

	public void setCheck2Id(Integer check2Id) {
		this.check2Id = check2Id;
	}

	public Date getCheck2Date() {
		return check2Date;
	}

	public void setCheck2Date(Date check2Date) {
		this.check2Date = check2Date;
	}

	public Integer getCheck3Id() {
		return check3Id;
	}

	public void setCheck3Id(Integer check3Id) {
		this.check3Id = check3Id;
	}

	public Date getCheck3Date() {
		return check3Date;
	}

	public void setCheck3Date(Date check3Date) {
		this.check3Date = check3Date;
	}

	public String getBak1() {
		return bak1;
	}

	public void setBak1(String bak1) {
		this.bak1 = bak1 == null ? null : bak1.trim();
	}

	public String getBak2() {
		return bak2;
	}

	public void setBak2(String bak2) {
		this.bak2 = bak2 == null ? null : bak2.trim();
	}
}